package com.ruoyi.core.vo;

import javax.validation.constraints.NotNull;

/**
 * @Description: 产品---产品用户映射
 * @Company: 北京卡拉卡尔股份技术有限公司
 * @Author: Darren Ho
 * @Date: 10/20/2020 10:56
 */
public class Product2UserRelationEntry {

    /**
     * 访问的产品id
     */
    @NotNull(message = "当前访问产品 productId 字段不能为空")
    private Long productId;

    /**
     * 产品用户id
     */
    @NotNull(message = "产品用户id  字段不能为空")
    private Long productUserId;

    public Product2UserRelationEntry() {
    }

    public Product2UserRelationEntry(Long productId, Long productUserId) {
        this.productId = productId;
        this.productUserId = productUserId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getProductUserId() {
        return productUserId;
    }

    public void setProductUserId(Long productUserId) {
        this.productUserId = productUserId;
    }
}
